import Vue from 'vue'
import Vuex from 'vuex'
import user from "./modules/user"
import classes from "./modules/classes"
import classType from "./modules/classType"
import createP from "vuex-persistedstate"
Vue.use(Vuex)

export default new Vuex.Store({
    state: {},
    mutations: {},
    actions: {},
    modules: {
        user,
        classes,
        classType,
    },
    plugins: [new createP()]
})